const joi = require('joi')
const id = joi.number().integer().min(1).required()
const name = joi.string().required()
const alias = joi.string().required()
// const is_delete = joi.number().integer().min(1)


module.exports = {
    addArticleCate: {
        body: {name, alias}
    },
    deleteArticleCate: {
        query: {id}
    },
    searchArticleCate: {
        query: {id}
    },
    updateArticleCate: {
        body: {id, name, alias}
    },
}
